package com.hc.radius.command;

import java.util.List;
import com.hc.radius.service.Const;


public abstract class Command {

	byte[] version = Const.MSG_VERSION;
	byte[]  terminal = Const.MSG_TERMINAL;
	byte[] servicename = Const.MSG_SERVICE_NAME_C280;
	byte[] sessionid = Const.SESSION_ID;
	byte[] sessionCtrl = Const.MSG_DLGCON;
	byte[] sessionrsvd = Const.MSG_DLGRSVD;
	byte[] transid = Const.TRANS_ID;
	byte[] transCtrl = Const.MSG_TXBEG;
	byte[] transrsvd = Const.MSG_TXRSVD;
	
	public abstract int getLen(CommandParam cmdp);
	
	public abstract void addCmdContent(List<Byte> list,CommandParam cmdp);
	

}
